﻿<views:TabView x:Class="Chronos.Client.Win.Views.Profiling.ProfilingView"
               xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
               xmlns:views="clr-namespace:Chronos.Client.Win.Views"
               xmlns:controls="clr-namespace:Chronos.Client.Win.Controls"
               MinWidth="700" MinHeight="500">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <controls:Menu Grid.Row="0" Source="{Binding Menu}" />
        <ContentControl Grid.Row="1" x:Name="ViewContent" />
        <Button Grid.Row="2" x:Name="ReloadSnapshot" Content="Reload" />
        <TextBlock Grid.Row="3" HorizontalAlignment="Left" Text="{Binding StartupTime, StringFormat='Startup time: {0} sec'}" />
    </Grid>
</views:TabView>
